package com.kelvem.saas.workbanch.core.manager.dao;

import com.kelvem.saas.workbanch.fsm.anno.entity.RegisterDao;
import com.kelvem.saas.workbanch.fsm.dao.BaseDao;
import com.kelvem.saas.workbanch.core.manager.model.BizPageDomEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 实体业务参数Dao
 *
 * @author kelvem
 * @version 1.0
 */
@Mapper
@RegisterDao(entityClass= BizPageDomEntity.class)
@Repository
public interface BizPageDomDao extends BaseDao<BizPageDomEntity> {
    
    @Select("select * from biz_page_dom where biz_page_id=#{bizPageId} order by biz_page_id, show_flag desc, sort_no")
    List<BizPageDomEntity> queryBizPageDomList(Long bizPageId);
}
